#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/1/31 15:22
# @Author  : 王凯
# @File    : wfq_source_mysql_settings.py
# @Project : scrapy_spider
import os

MYSQL_IP = "rm-bp1xd5pi621lf3c60zo.mysql.rds.aliyuncs.com"
MYSQL_PORT = "3306"
MYSQL_DB = "wfq_source"
MYSQL_USER_NAME = "p.model-field.p.v1"
MYSQL_USER_PASS = "ba914871062365732c5eacf1c61daffd"

os.environ['MYSQL_IP'] = MYSQL_IP
os.environ['MYSQL_PORT'] = MYSQL_PORT
os.environ['MYSQL_DB'] = MYSQL_DB
os.environ['MYSQL_USER_NAME'] = MYSQL_USER_NAME
os.environ['MYSQL_USER_PASS'] = MYSQL_USER_PASS

MYSQL_URI = f"mysql+pymysql://{MYSQL_USER_NAME}:{MYSQL_USER_PASS}@{MYSQL_IP}:{MYSQL_PORT}/{MYSQL_DB}"
